#include "threadPool.h"

typedef struct node_s{
    char fname[25];
    struct node_s* next;
}node_t;

typedef struct stack_s{
    int stackSize;
    node_t* top;
}stack;  

typedef struct user_s{
    stack* curWorkDir;   //当前工作目录
}user_t;

//入栈
int Push(stack* curWorkDir,char* fname);
//出栈
int Pop(stack* curWorkDir, char* fname);

//查看栈顶
int Peek(stack* curWorkDir, char* fname);
//判空
int isEmpty(stack* curWorkDir);

int myRecvComd(char* comd, char* arg);
    //接受命令，参数
    
int myExecute(char* comd, char* arg);
int myCd(char* arg);            
int myLs(char* arg);            
int myPuts();                   
int myGets();                   
int myRemove(char* arg);        
int myPwd();
